go/parser.parser.mode (field)
9 uses
go/parser (current package)
parser.go#L34: mode Mode // parsing mode
parser.go#L74: p.mode = mode
parser.go#L153: if p.mode&ParseComments == 0 {
parser.go#L270: if p.mode&AllErrors == 0 {
parser.go#L2869: if ident.Name == "_" && p.mode&DeclarationErrors != 0 {
parser.go#L2881: if p.mode&PackageClauseOnly == 0 {
parser.go#L2887: if p.mode&ImportsOnly == 0 {
parser.go#L2913: if p.mode&DeclarationErrors != 0 {
parser.go#L2916: if p.mode&SkipObjectResolution == 0 {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)